package com.five.admin.dao;

import com.five.entity.qo.CourseSalesVolume;
import com.five.entity.qo.SalesAmount;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author: star
 * @Date: 2021-05-21 14:41
 *
 * 统计 model层
 */
public interface StatisticsMapper {
    BigDecimal countRevenueByToday();

    int countUserNumber();

    int countCourseNumber();

    int countChapterView();

    List<CourseSalesVolume> countCourseSalesVolumeTOP5();

    List<SalesAmount> countSalesAmountBeforeSevenDay(Date date);
}
